General Line Data Fields (SWMM)

General Line data can be edited on either the General Line Grid Window of the Lines Grid or the General Line Property Sheet.

The following describes all the data which can be used to define a General Line.

Common Data Fields

Fields that are common to the majority of objects can be found in the Common Fields topic.

General Line Data

Database Table Name: sw_general_line

Show Columns

Database Names

Size, Type and Units

Defaults and Error Limits

Field Name

Help Text

Database Field

Data Type

Size

Units

Precision

Default

Error Lower Limit

Error Upper Limit

Warning Lower Limit

Warning Upper Limit

General Line

ID of the line.

line_id

Text

64

 

0

 

0

0

0

0

Asset ID

For reference only. Designed as a reference to an asset database, but could be used for anything.

asset_id

Text

64

 

0

 

 

 

 

 

Category

Line categories are used to identify which lines are used to represent break line or wall features when creating a 2D mesh.

category

Text

64

 

0

 

0

0

0

0

Length

Length of the General Line.

length

Single

 

L

3

 

 

 

 

 

General Line XY Data

This field defines the coordinate of the line vertices. The underlying data consists of a series of (x,y) pairs. Each line is made up of a series of straight lines between the defined (x,y) pairs.

This data is not displayed on the grid or property sheet.

Coordinates of line vertices are included when you export line data to CSV files. There are two options available for exporting line coordinates. These are selected on the Select CSV Export Options Dialog using the Coordinate Arrays Format dropdown list. The options are:

  • Packed - The data is exported as a series of x,y pairs. {389904.,111350.,390309.,111765.}

  • Separately - the data is appended to the end of the row containing the line data. Each x and y value is in a separate (comma separated) field.

general_line_xy

Array

 

XY

3

 

 

 

 

 

General Lines

Lines

Lines Grid

Property Sheets